const withCss= require('@zeit/next-css')

module.exports = withCss({
    webpack: function (config) {
        config.module.rules.push({
            enforce: 'pre',
            test: /\.(js|.jsx)$/,
            loader: 'eslint-loader',
            exclude: /(node_modules)/
        })
        return config
    }
})